From 4fbed54fb7b4beef5129ff70a1302d4b523ae73b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 21 Jul 2005 15:47:22 +0000 Subject: [PATCH] oops... used the wrong ioctl for country code when checking it into cvs SVN-Revision: 1520 --- openwrt/package/wificonf/Makefile | 2 +- openwrt/package/wificonf/wificonf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/package/wificonf/Makefile b/openwrt/package/wificonf/Makefile index 95fbf9f241..44ba0b4ceb 100644 --- a/openwrt/package/wificonf/Makefile +++ b/openwrt/package/wificonf/Makefile @@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wificonf -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_BUILD_DIR:=$(BUILD_DIR)/wificonf diff --git a/openwrt/package/wificonf/wificonf.c b/openwrt/package/wificonf/wificonf.c index 24a9c2fe11..404240e49c 100644 --- a/openwrt/package/wificonf/wificonf.c +++ b/openwrt/package/wificonf/wificonf.c @@ -180,7 +180,7 @@ void setup_bcom(int skfd, char *ifname) /* Set Country */ strncpy(buf, nvram_safe_get(wl_var("country_code")), 4); buf[3] = 0; - bcom_ioctl(skfd, ifname, 273, buf, 4); + bcom_ioctl(skfd, ifname, WLC_SET_COUNTRY, buf, 4); /* Set up afterburner */ val = ABO_AUTO; -- 2.30.2